package com.inspur.xiaoju.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document(collection = "workspaces")
public class Workspace {
    @Id
    private String id;
    private String name;
    private String description;
    private String creatorId;
    private String creator;
    private Date createDate;
    private Date updateDate;
}